package com.bootdo.merchant.serivce;

import com.bootdo.merchant.domain.AgentDO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Desc 商户代理管理
 * @date 2019/11/12
 *
 */
@Service
public interface AgentService {

    AgentDO get(Long id);

    List<AgentDO> list(Map<String, Object> map);
    int count(Map<String, Object> map);

    int editStatus(Long id, Integer status);

    int save(AgentDO agentDO);
    int update(AgentDO agentDO);

    int resetToken(Long id);
}
